<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title> 2-1 JavaScript-输出内容（document.write）</title>
    <link rel="stylesheet" type="text/css" href="../../css/style.css"/>
    <script type="text/javascript">
    var mystr = "我是";
    var mychar = "javascript";
        document.write(mystr+mychar+"<br />");
        document.write(mystr+mychar+"忠实粉丝!")

    </script>
</head>

<body>
<div align="center">
    <p><a href="../index.php#js" class="fontSize" title="点击进入该目录">目录</a></p>
</div>

</body>
</html>
